<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href='<?php echo asset_url()."customcss/custombody.css"; ?>'>

<title>Edit Profile</title>

</head>
<body>

<div id="container">
<h3><span class="label label-primary">User Information </span></h3>
<br><br><br>
<?php 
	foreach ($query as $row)
	{
?>
<form action='<?php echo base_url();?>index.php/admin/name/process/' method='post' name='edit' >
<table class="table table-hover">
<!--  <input type="hidden" value="admin" name="ref"> -->
<input type="hidden" value="<?php echo $row->id; ?>"  class="form-control" name="uid">
<tr><th>Name</th><td><input type="text" value="<?php echo $row->name; ?>"  class="form-control" name="name"></td></tr>
<tr><th>Batch</th><td><input type="text" value="<?php echo $row->batch; ?>"  class="form-control" name="batch"></td></tr>
<tr><th>Department</th><td><input type="text" value="<?php echo $row->deptName; ?>"  class="form-control" readonly></td></tr>
<tr><th>Company/College/University</th><td><input type="text" class="form-control" value="<?php echo $row->current_company; ?>" name="comp"></td></tr>
<tr><th>Location</th><td><input type="text" class="form-control" value="<?php echo $row->curren_loc; ?>" name="loc"></td></tr>
<tr><th>Designation</th><td><input type="text" class="form-control" value="<?php echo $row->current_desig; ?>" name="design"></td></tr>
<tr><th>Contact</th><td><input type="text" class="form-control" value="<?php echo $row->mobile; ?>" name="mob"></td></tr>
<tr><th>Email ID</th><td><input type="text" class="form-control" value="<?php echo $row->email_id; ?>" name="mail"></td></tr>

<tr><td colspan=2 align="center"><button type="submit" class="btn btn-primary">Submit</button></td></tr>

</table>
</form>
<?php 
	}
?>


</div>
	<script src='<?php echo asset_url()."/js/bootstrap.min.js"?>'></script>
	<script src='<?php echo asset_url()."/js/jquery-1.10.2.min.js"?>'></script>
	</body>
</html>